<%--
  Created by IntelliJ IDEA.
  User: 陈学凯
  Date: 2024/11/29
  Time: 下午2:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Calculate Circle Area</title>
</head>
<body>
<h2>计算圆面积</h2>
<form action="${pageContext.request.contextPath}/CircleServlet" method="post">
    <label for="radius">请输入圆的半径:</label>
    <input type="number" id="radius" name="radius" step="0.01" required>
    <input type="submit" value="计算面积">
</form>
</body>
</html>
